﻿using Swashbuckle.AspNetCore.Annotations;
using System.ComponentModel;

namespace 天离安全_天擎.Tl_Class_Services
{
    /// <summary>
    /// json类
    /// </summary>
    public class PortScanRequest
    {
        /// <summary>
        /// 线程
        /// </summary>
        [DefaultValue(20)]
        public int Max { get; set; } = 20;
        /// <summary>
        /// 开始端口
        /// </summary>
        [DefaultValue(1)]
        public int StrPort { get; set; } = 1;
        /// <summary>
        /// 结束端口
        /// </summary>
        [DefaultValue(65535)]
        public int EndPort { get; set; } = 65535;
        /// <summary>
        /// 扫描地址
        /// </summary>
        [DefaultValue("127.0.0.1")]
        public string Ip { get; set; } = "127.0.0.1";
    }
}
